package edu.sandau.app.basic.domain;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class DishExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public DishExample() {
        oredCriteria = new ArrayList<>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andDishIdIsNull() {
            addCriterion("dish_id is null");
            return (Criteria) this;
        }

        public Criteria andDishIdIsNotNull() {
            addCriterion("dish_id is not null");
            return (Criteria) this;
        }

        public Criteria andDishIdEqualTo(Long value) {
            addCriterion("dish_id =", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdNotEqualTo(Long value) {
            addCriterion("dish_id <>", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdGreaterThan(Long value) {
            addCriterion("dish_id >", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdGreaterThanOrEqualTo(Long value) {
            addCriterion("dish_id >=", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdLessThan(Long value) {
            addCriterion("dish_id <", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdLessThanOrEqualTo(Long value) {
            addCriterion("dish_id <=", value, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdIn(List<Long> values) {
            addCriterion("dish_id in", values, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdNotIn(List<Long> values) {
            addCriterion("dish_id not in", values, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdBetween(Long value1, Long value2) {
            addCriterion("dish_id between", value1, value2, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishIdNotBetween(Long value1, Long value2) {
            addCriterion("dish_id not between", value1, value2, "dishId");
            return (Criteria) this;
        }

        public Criteria andDishNameIsNull() {
            addCriterion("dish_name is null");
            return (Criteria) this;
        }

        public Criteria andDishNameIsNotNull() {
            addCriterion("dish_name is not null");
            return (Criteria) this;
        }

        public Criteria andDishNameEqualTo(String value) {
            addCriterion("dish_name =", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameNotEqualTo(String value) {
            addCriterion("dish_name <>", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameGreaterThan(String value) {
            addCriterion("dish_name >", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameGreaterThanOrEqualTo(String value) {
            addCriterion("dish_name >=", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameLessThan(String value) {
            addCriterion("dish_name <", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameLessThanOrEqualTo(String value) {
            addCriterion("dish_name <=", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameLike(String value) {
            addCriterion("dish_name like", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameNotLike(String value) {
            addCriterion("dish_name not like", value, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameIn(List<String> values) {
            addCriterion("dish_name in", values, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameNotIn(List<String> values) {
            addCriterion("dish_name not in", values, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameBetween(String value1, String value2) {
            addCriterion("dish_name between", value1, value2, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishNameNotBetween(String value1, String value2) {
            addCriterion("dish_name not between", value1, value2, "dishName");
            return (Criteria) this;
        }

        public Criteria andDishTypeIsNull() {
            addCriterion("dish_type is null");
            return (Criteria) this;
        }

        public Criteria andDishTypeIsNotNull() {
            addCriterion("dish_type is not null");
            return (Criteria) this;
        }

        public Criteria andDishTypeEqualTo(String value) {
            addCriterion("dish_type =", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeNotEqualTo(String value) {
            addCriterion("dish_type <>", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeGreaterThan(String value) {
            addCriterion("dish_type >", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeGreaterThanOrEqualTo(String value) {
            addCriterion("dish_type >=", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeLessThan(String value) {
            addCriterion("dish_type <", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeLessThanOrEqualTo(String value) {
            addCriterion("dish_type <=", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeLike(String value) {
            addCriterion("dish_type like", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeNotLike(String value) {
            addCriterion("dish_type not like", value, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeIn(List<String> values) {
            addCriterion("dish_type in", values, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeNotIn(List<String> values) {
            addCriterion("dish_type not in", values, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeBetween(String value1, String value2) {
            addCriterion("dish_type between", value1, value2, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishTypeNotBetween(String value1, String value2) {
            addCriterion("dish_type not between", value1, value2, "dishType");
            return (Criteria) this;
        }

        public Criteria andDishPriceIsNull() {
            addCriterion("dish_price is null");
            return (Criteria) this;
        }

        public Criteria andDishPriceIsNotNull() {
            addCriterion("dish_price is not null");
            return (Criteria) this;
        }

        public Criteria andDishPriceEqualTo(BigDecimal value) {
            addCriterion("dish_price =", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceNotEqualTo(BigDecimal value) {
            addCriterion("dish_price <>", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceGreaterThan(BigDecimal value) {
            addCriterion("dish_price >", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("dish_price >=", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceLessThan(BigDecimal value) {
            addCriterion("dish_price <", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("dish_price <=", value, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceIn(List<BigDecimal> values) {
            addCriterion("dish_price in", values, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceNotIn(List<BigDecimal> values) {
            addCriterion("dish_price not in", values, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dish_price between", value1, value2, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("dish_price not between", value1, value2, "dishPrice");
            return (Criteria) this;
        }

        public Criteria andDishImageIsNull() {
            addCriterion("dish_image is null");
            return (Criteria) this;
        }

        public Criteria andDishImageIsNotNull() {
            addCriterion("dish_image is not null");
            return (Criteria) this;
        }

        public Criteria andDishImageEqualTo(String value) {
            addCriterion("dish_image =", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageNotEqualTo(String value) {
            addCriterion("dish_image <>", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageGreaterThan(String value) {
            addCriterion("dish_image >", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageGreaterThanOrEqualTo(String value) {
            addCriterion("dish_image >=", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageLessThan(String value) {
            addCriterion("dish_image <", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageLessThanOrEqualTo(String value) {
            addCriterion("dish_image <=", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageLike(String value) {
            addCriterion("dish_image like", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageNotLike(String value) {
            addCriterion("dish_image not like", value, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageIn(List<String> values) {
            addCriterion("dish_image in", values, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageNotIn(List<String> values) {
            addCriterion("dish_image not in", values, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageBetween(String value1, String value2) {
            addCriterion("dish_image between", value1, value2, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishImageNotBetween(String value1, String value2) {
            addCriterion("dish_image not between", value1, value2, "dishImage");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationIsNull() {
            addCriterion("dish_specification is null");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationIsNotNull() {
            addCriterion("dish_specification is not null");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationEqualTo(String value) {
            addCriterion("dish_specification =", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationNotEqualTo(String value) {
            addCriterion("dish_specification <>", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationGreaterThan(String value) {
            addCriterion("dish_specification >", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationGreaterThanOrEqualTo(String value) {
            addCriterion("dish_specification >=", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationLessThan(String value) {
            addCriterion("dish_specification <", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationLessThanOrEqualTo(String value) {
            addCriterion("dish_specification <=", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationLike(String value) {
            addCriterion("dish_specification like", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationNotLike(String value) {
            addCriterion("dish_specification not like", value, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationIn(List<String> values) {
            addCriterion("dish_specification in", values, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationNotIn(List<String> values) {
            addCriterion("dish_specification not in", values, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationBetween(String value1, String value2) {
            addCriterion("dish_specification between", value1, value2, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishSpecificationNotBetween(String value1, String value2) {
            addCriterion("dish_specification not between", value1, value2, "dishSpecification");
            return (Criteria) this;
        }

        public Criteria andDishStatusIsNull() {
            addCriterion("dish_status is null");
            return (Criteria) this;
        }

        public Criteria andDishStatusIsNotNull() {
            addCriterion("dish_status is not null");
            return (Criteria) this;
        }

        public Criteria andDishStatusEqualTo(String value) {
            addCriterion("dish_status =", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusNotEqualTo(String value) {
            addCriterion("dish_status <>", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusGreaterThan(String value) {
            addCriterion("dish_status >", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusGreaterThanOrEqualTo(String value) {
            addCriterion("dish_status >=", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusLessThan(String value) {
            addCriterion("dish_status <", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusLessThanOrEqualTo(String value) {
            addCriterion("dish_status <=", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusLike(String value) {
            addCriterion("dish_status like", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusNotLike(String value) {
            addCriterion("dish_status not like", value, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusIn(List<String> values) {
            addCriterion("dish_status in", values, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusNotIn(List<String> values) {
            addCriterion("dish_status not in", values, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusBetween(String value1, String value2) {
            addCriterion("dish_status between", value1, value2, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andDishStatusNotBetween(String value1, String value2) {
            addCriterion("dish_status not between", value1, value2, "dishStatus");
            return (Criteria) this;
        }

        public Criteria andSalesCountIsNull() {
            addCriterion("sales_count is null");
            return (Criteria) this;
        }

        public Criteria andSalesCountIsNotNull() {
            addCriterion("sales_count is not null");
            return (Criteria) this;
        }

        public Criteria andSalesCountEqualTo(Integer value) {
            addCriterion("sales_count =", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountNotEqualTo(Integer value) {
            addCriterion("sales_count <>", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountGreaterThan(Integer value) {
            addCriterion("sales_count >", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountGreaterThanOrEqualTo(Integer value) {
            addCriterion("sales_count >=", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountLessThan(Integer value) {
            addCriterion("sales_count <", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountLessThanOrEqualTo(Integer value) {
            addCriterion("sales_count <=", value, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountIn(List<Integer> values) {
            addCriterion("sales_count in", values, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountNotIn(List<Integer> values) {
            addCriterion("sales_count not in", values, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountBetween(Integer value1, Integer value2) {
            addCriterion("sales_count between", value1, value2, "salesCount");
            return (Criteria) this;
        }

        public Criteria andSalesCountNotBetween(Integer value1, Integer value2) {
            addCriterion("sales_count not between", value1, value2, "salesCount");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}